README
REPLICATION CODE FOR:

Who Cares?
Measuring Differences in Preference Intensity


AUTHORS: 
Charlotte Cavaille, Ford School of Public Policy, University of Michigan
Daniel L Chen, Toulouse School of Economics and Institute for Advanced Study in Toulouse
Karine Van Der Straeten, Toulouse School of Economics and Institute for Advanced Study in Toulouse


CONTACT: Charlotte.cavaille@gmail.com

VERSION: Jan 2024
DOI: XXX

	
SOFTWARE and PROGRAMS

Analyses were conducted using STATA SE version 18.
Processor: Apple M2 Max
RAM: 32.0 GB

---

BEFORE STARTING: CREATE THE FOLLOWING FOLDERS (in the same folder where you have saved all the .do files mentioned below):
		data
		fig
		out
		tab
		temp

TO REPLICATE RESULTS IN MAIN MANUSCRIPT: Run "1.code_main_F.do"
TO REPLICATE RESULTS IN APPENDIX: Run "2.appendix_F.do"

ALWAYS RUN "1.code_main_F.do" FIRST

[no need to run .do files that start with "0.", these are called in "1.code_main_F.do" and "2.appendix_F.do"]

---

STRUCTURE OF REPLICATION FOLDER



CODE
	Main analysis: 

		1.code_main_F.do

	Appendix:

		2.appendix_F.do

	Data processing: 

		0.build_dataset.do
		0.code_var_w1. [coding for wave 1 variables]
		0.code_var_w2. [coding for wave 2 variables]
		0.code_var_SES_F
	
	Packages to install:

		0.config.do

LOG FILES

		log_main.log
		log_appendix.log


DATA FOLDER

The survey data was collected over two waves of data collection. The raw data for each wave is composed of two separate datasets (part 1 and part 2). For a given wave, observations in part 1 need to be matched to observations in part 2. Wave 1 observations then need to be matched to wave 2 observations. 

	Raw data: 

		part1_wave1.dta
		part2_wave1.dta
		part1_wave2.dta
		part2_wave2.dta
		text.dta [Text data collected through Qualtrics and used to measure how many 			letters were typed]

	Data on individual respondents was provided by the survey firm:

		ses_ipsos.dta

	Data file to use to watch wave1 to wave2 (IDs are different). 

		mno_id_W1W2.dta

		

output FOLDER

The "output" folder holds the main data set [produced by running "1.code_main_F.do"]
	
		dataset_final.dta

temp FOLDER	

Empty used to store temporary outputs


fig FOLDER	

Where Figures are saved


tab FOLDER

Where Tables are saved. 

This folder is not empty. It includes a .tex file for the regression table in the main manuscript (Table 2). Compiling this file (after running "1.code_main_F.do") should make it easier to check that results replicate.

		Tab_Main2.tex

The folder also includes .tex files for all the tables in the Appendix. Compiling these files (after running "2.appendix_F.do") should make it easier to check that appendix analyses replicate. 

		TabC1.tex
		TabC2.tex
		TabC3.tex
		TabC4.tex
		TabC5.tex
		TabC6.tex	
		TabC7.tex
		TabE8.tex
		TabE9.tex
		TabF9.tex
		TabG11.tex

	
	
END README